package guiservice.common.net;

import guiservice.common.controls.handlers.KeyEventArgs;
import guiservice.common.controls.handlers.MouseEventArgs;

public interface Server {

    final int OBJECT_ID = 1;

    long registerControl(long owner, String name, long uidOfClient);

    void invalidate();

    void unregisterControls(Long[] idsForRemove);

    Long[] getClients();

    Long[] getControls(long uid, String type);

    void eventHandler(long objectId, long uid, MouseEventArgs args);

    void eventHandler(long objectId, long uid, KeyEventArgs args);
}
